package com.songtech.device.service;

import com.songtech.device.bean.Device;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @Author: yangzhicheng
 * @Date: 2018/6/20 10:02
 */
public interface DeviceService {

    /**
     *
     * @param imei 设备号
     * @param status 状态 0上线，1下线
     */
     void setDevice(String imei,Integer status);

     int deviceOnlineCount(Map<String,String> map);

     int deviceOfflineCount(Map<String,String> map);


     List<Device> deviceOnlineByDay (Map<String,Object> map);
}
